.class Lcom/instagram/creation/video/mediarecorder/n;
.super Ljava/lang/Object;
.source "PacketWriter.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/instagram/creation/video/mediarecorder/a;

.field final synthetic b:Lcom/instagram/creation/video/mediarecorder/o;

.field final synthetic c:Lcom/instagram/creation/video/mediarecorder/m;


# direct methods
.method constructor <init>(Lcom/instagram/creation/video/mediarecorder/m;Lcom/instagram/creation/video/mediarecorder/a;Lcom/instagram/creation/video/mediarecorder/o;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 33
    iput-object p1, p0, Lcom/instagram/creation/video/mediarecorder/n;->c:Lcom/instagram/creation/video/mediarecorder/m;

    iput-object p2, p0, Lcom/instagram/creation/video/mediarecorder/n;->a:Lcom/instagram/creation/video/mediarecorder/a;

    iput-object p3, p0, Lcom/instagram/creation/video/mediarecorder/n;->b:Lcom/instagram/creation/video/mediarecorder/o;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 35
    iget-object v0, p0, Lcom/instagram/creation/video/mediarecorder/n;->a:Lcom/instagram/creation/video/mediarecorder/a;

    iget-object v1, p0, Lcom/instagram/creation/video/mediarecorder/n;->c:Lcom/instagram/creation/video/mediarecorder/m;

    invoke-static {v1}, Lcom/instagram/creation/video/mediarecorder/m;->a(Lcom/instagram/creation/video/mediarecorder/m;)Ljava/io/ByteArrayOutputStream;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/mediarecorder/a;->a(Ljava/io/OutputStream;)Z

    move-result v0

    .line 37
    iget-object v1, p0, Lcom/instagram/creation/video/mediarecorder/n;->b:Lcom/instagram/creation/video/mediarecorder/o;

    if-eqz v1, :cond_0

    .line 38
    iget-object v1, p0, Lcom/instagram/creation/video/mediarecorder/n;->b:Lcom/instagram/creation/video/mediarecorder/o;

    invoke-virtual {v1, v0}, Lcom/instagram/creation/video/mediarecorder/o;->a(Z)V

    .line 39
    iget-object v0, p0, Lcom/instagram/creation/video/mediarecorder/n;->b:Lcom/instagram/creation/video/mediarecorder/o;

    iget-object v1, p0, Lcom/instagram/creation/video/mediarecorder/n;->a:Lcom/instagram/creation/video/mediarecorder/a;

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/mediarecorder/o;->a(Lcom/instagram/creation/video/mediarecorder/a;)V

    .line 40
    iget-object v0, p0, Lcom/instagram/creation/video/mediarecorder/n;->b:Lcom/instagram/creation/video/mediarecorder/o;

    invoke-virtual {v0}, Lcom/instagram/creation/video/mediarecorder/o;->a()V

    .line 42
    :cond_0
    return-void
.end method
